package client;

import java.util.List;

import client.dtos.RepositoryFileDTO;
import client.dtos.RevisionDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface SearchServiceAsync {
	
	void search(final String searchTerm, final boolean searchAnywhere, final AsyncCallback<List<RepositoryFileDTO>> acb);

	void getMostRecentRevisionForFile(long revisionFileID, int page, AsyncCallback<List<RevisionDTO>> asyncCallback);

	void searchComments(String searchTerm, AsyncCallback<List<RevisionDTO>> asyncCallback);

	void hideRepositoryFile(long repositoryFileID, AsyncCallback<Void> asyncCallback);

}
